<template>

</template>

<script setup>
import {getCollectList} from "@/api/collect.js";
import {onMounted, ref} from "vue";
import store from "@/store/index.js";

const collectionData = ref([{
  vid:'',
}])
onMounted(()=>{
  getList();
})
function getList(){
  const uid = store.getters.getUser.name
  getCollectList({uid:uid}).then( (res) => {
    collectionData.value = res.data.data
  })
}
</script>

<style scoped>

</style>
